﻿using System.Windows.Forms;

namespace AMatysiak.Controls
{
    public class CurrencyLabel : Label
    {
        public CurrencyLabel()
            : base()
        { }

        private double value;
        public double Value
        {
            get { return value; }
            set
            {
                this.value = value;
                this.Text = value.ToString("C2");
            }
        }
    }
}
